package com.lz.service.xjl;

import com.lz.entity.*;
import com.lz.vo.xjl.ModifyEquipmentSheetVO;

import java.util.List;
import java.util.Map;

/**
 * @author 徐建林
 * @date 2018/10/21 21:15
 */
public interface EquipmentSheetService {
    /**通过传入条件查询装潢单
     * @param pageNo 页数
     * @param pageSize 每页数量
     * @param map 查询条件
     * @return 装潢单列表*/
    List<EquipmentSheet> getEquipmentSheetList(Integer pageNo, Integer pageSize, Map<String, Object> map);

    EquipmentSheet getEquipmentById(Integer equipmentSheetNo);
    /**获得最大条数*/
    Integer getRows( Map<String, Object> map);

    /**根据equipmentSheetNo删除equipmentSheet*/
    Integer removeEquipmentByNo(Integer equipmentSheetNo);
    /***/
    Integer getMaxPrimaryKey();
    /**存储装潢表*/



    Integer saveEquipmentSheet(EquipmentSheet equipmentSheet, Car car, Customer customer, List<TemporaryCarParts> temporaryCarPartsList, Employee employee, UpholsteryType upholsteryType);

    void cancelEquipmentSheet(Integer equipmentSheetNO);

    void modifyEquipment(ModifyEquipmentSheetVO modifyEquipmentSheetVO);
    void setEquipmentSheetType(Integer equipmentSheetNo);
}
